#ifndef H_GRAPHWIDGET
#define H_GRAPHWIDGET
#include "precompiled.h"
namespace weo
{
    namespace ui
    {
        class GraphWidget : public QWidget
        {
            Q_OBJECT
        private:
            void paintEvent ( QPaintEvent * event );
            float m_Max;
            float m_Min;
            std::vector<float> m_Values;
        public:
            void addValue(float value);
            void clear();
            GraphWidget(QWidget* parent = 0, Qt::WFlags flags = 0);
        };
    };
};
#endif